package cn.edu.scau.cmi.ema.dao;

import java.util.Set;

import org.springframework.dao.DataAccessException;
import cn.edu.scau.cmi.ema.domain.*;
import cn.edu.scau.cmi.ema.domain.base.CmiPagination;

public interface SpiderDAO extends JpaDao<Spider> {

	public Spider findSpiderById(Integer id) throws DataAccessException;

	public Spider findSpiderById(Integer id, int startResult, int maxRows) throws DataAccessException;

	public Set<Spider> findSpiderByName(String name) throws DataAccessException;

	public Set<Spider> findSpiderByName(String name, int startResult, int maxRows) throws DataAccessException;

	public Set<Spider> findSpiderByNameContaining(String name_1) throws DataAccessException;

	public Set<Spider> findSpiderByNameContaining(String name_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Spider> findSpiderByTitle(String title) throws DataAccessException;

	public Set<Spider> findSpiderByTitle(String title, int startResult, int maxRows) throws DataAccessException;

	public Set<Spider> findSpiderByTitleContaining(String title_1) throws DataAccessException;

	public Set<Spider> findSpiderByTitleContaining(String title_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Spider> findSpiderByHref(String href) throws DataAccessException;

	public Set<Spider> findSpiderByHref(String href, int startResult, int maxRows) throws DataAccessException;

	public Set<Spider> findSpiderByHrefContaining(String href_1) throws DataAccessException;

	public Set<Spider> findSpiderByHrefContaining(String href_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Spider> findSpiderByTime(String time) throws DataAccessException;

	public Set<Spider> findSpiderByTime(String time, int startResult, int maxRows) throws DataAccessException;

	public Set<Spider> findSpiderByTimeContaining(String time_1) throws DataAccessException;

	public Set<Spider> findSpiderByTimeContaining(String time_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Spider> findSpiderByAuthor(String author) throws DataAccessException;

	public Set<Spider> findSpiderByAuthor(String author, int startResult, int maxRows) throws DataAccessException;

	public Set<Spider> findSpiderByAuthorContaining(String author_1) throws DataAccessException;

	public Set<Spider> findSpiderByAuthorContaining(String author_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Spider> findSpiderBySource(String source) throws DataAccessException;

	public Set<Spider> findSpiderBySource(String source, int startResult, int maxRows) throws DataAccessException;

	public Set<Spider> findSpiderBySourceContaining(String source_1) throws DataAccessException;

	public Set<Spider> findSpiderBySourceContaining(String source_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Spider> findSpiderByMainContent(String mainContent) throws DataAccessException;

	public Set<Spider> findSpiderByMainContent(String mainContent, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Spider> findSpiderByMainContentContaining(String mainContent_1) throws DataAccessException;

	public Set<Spider> findSpiderByMainContentContaining(String mainContent_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Spider> findSpiderByTokenization(String tokenization) throws DataAccessException;

	public Set<Spider> findSpiderByTokenization(String tokenization, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Spider> findSpiderByTokenizationContaining(String tokenization_1) throws DataAccessException;

	public Set<Spider> findSpiderByTokenizationContaining(String tokenization_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Spider> findSpiderByIs_ema(Boolean is_ema) throws DataAccessException;

	public Set<Spider> findSpiderByIs_ema(Boolean is_ema, int startResult, int maxRows) throws DataAccessException;

	public Set<Spider> findSpiderByIs_check(Boolean is_check) throws DataAccessException;

	public Set<Spider> findSpiderByIs_check(Boolean is_check, int startResult, int maxRows) throws DataAccessException;

	public Set<Spider> findSpiderByExport(Boolean export) throws DataAccessException;

	public Set<Spider> findSpiderByExport(Boolean export, int startResult, int maxRows) throws DataAccessException;

	public Set<Spider> findSpiderByDescription(String description) throws DataAccessException;

	public Set<Spider> findSpiderByDescription(String description, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Spider> findSpiderByDescriptionContaining(String description_1) throws DataAccessException;

	public Set<Spider> findSpiderByDescriptionContaining(String description_1, int startResult, int maxRows)
			throws DataAccessException;

	public Spider findSpiderByPrimaryKey(Integer id) throws DataAccessException;

	public Spider findSpiderByPrimaryKey(Integer id, int startResult, int maxRows) throws DataAccessException;

	public Set<Spider> findSpidersByIds(Set<Integer> ids) throws DataAccessException;

	public Set<Spider> findAllSpiders() throws DataAccessException;

	public Set<Spider> findAllSpiders(int startResult, int maxRows) throws DataAccessException;

	public Set<Spider> findSpiderByCompositeProperities(String sql, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Spider> findSpidersByDetachedCriteria(CmiPagination page) throws DataAccessException;

	public Spider findSpiderByPhysicalPrimaryKey(String name) throws DataAccessException;

	public Spider findSpiderByPhysicalPrimaryKey(String name, int startResult, int maxRows) throws DataAccessException;
}
